package org.example.springboot.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

//微信扫码登陆的配置类
@Configuration
@Data
@ConfigurationProperties(prefix = "wxcode")  //与yml文件中的配置信息一一对应的起来
public class WechatConfig {
    private String appId;
    private String appSecret;
    private String redirectUri;
    private String frontUrl;
}
